package supers;

import java.awt.event.ActionListener;
import java.awt.event.FocusListener;
import java.awt.event.MouseListener;

import javax.swing.JInternalFrame;
import javax.swing.event.InternalFrameListener;

@SuppressWarnings("serial")
public abstract class GUIInternalFrame extends JInternalFrame{

	public abstract void setListener(ActionListener ac, FocusListener fl, MouseListener ml);
	public abstract void limpar();
	public abstract void setDados(Object obj);
	public abstract Object getDados();

	public GUIInternalFrame() {
		super("", false, true, false, true);
		getContentPane().setLayout(null);
	}
	
	public void setAKListener(ActionListener ac, FocusListener fl, MouseListener ml){
		this.setListener(ac, fl, ml);
	}
	
	public void setIFListener(InternalFrameListener fl){
		addInternalFrameListener(fl);
	}


}
